﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="Admin_User_Default" %>

<asp:Content ID="Content2" ContentPlaceHolderID="pnlMain" runat="Server">
    <br />
    <a href="addedit.aspx">Add User</a><br />
    <p class="h2">
        User</p>
    <div id="divError" runat="server">
    </div>
    <div class="divGrid">
        <asp:GridView ID="gvUser" runat="server" AutoGenerateColumns="False" EmptyDataText="No Record Found"
            DataKeyNames="UserID" OnRowDeleted="gvUser_RowDeleted" OnRowDeleting="gvUser_RowDeleting"
            OnRowDataBound="gvUser_RowDataBound">
            <Columns>
                <asp:BoundField DataField="Username" HeaderText="Username" />
                <asp:BoundField DataField="EmailAddress" HeaderText="Email Address" />
                <asp:BoundField DataField="UserType" HeaderText="User Type" />
                <asp:BoundField DataField="Active" HeaderText="Active" />
                <asp:HyperLinkField DataNavigateUrlFields="UserID" DataNavigateUrlFormatString="addedit.aspx?id={0}"
                    Text="Edit" ItemStyle-Width="30" />
                <asp:CommandField ShowDeleteButton="True" ItemStyle-Width="50" />
                <asp:HyperLinkField DataNavigateUrlFields="UserID" DataNavigateUrlFormatString="resetpwd.aspx?id={0}"
                    Text="Reset Password" ItemStyle-Width="110" />
            </Columns>
        </asp:GridView>
    </div>
</asp:Content>
